package edu.umn.se.trap;

public class OtherExpenses {
    private double amount;
    private String currency, date;

    private String justification;

    public OtherExpenses()
    {
        date = "";
        amount = 0;
        currency = "";
        justification = "";        
    }
    /**
     * Constructor of other expenses
     * @param idNum id number to indicate other expense
     * @param d date of other expense
     * @param am amount paid for other expense
     * @param cur currency paid for other expense
     * @param just description of other expense
     */
    public OtherExpenses(String d, double am, String cur, String just)
    {
        date = d;
        amount = am;
        currency = cur;
        justification = just;    
    }
    /**
     * Get date of other expense
     * @return date
     */
    public String getDate()
    {
        return date;
    }
    /**
     * Get amount paid for other expense
     * @return amount
     */
    public double getAmount()
    {
        return amount;
    }
    /**
     * Get currency paid for other expense
     * @return currency
     */
    public String getCurrency()
    {
        return currency;
    }
    /**
     * Get description of other expense
     * @return justification
     */
    public String getJustification()
    {
        return justification;
    }
}